From: Keir Fraser Date: Mon, 1 Jun 2009 14:52:19 +0000 (+0100) Subject: libxc: Implement stub xc_gnttab_map_table() for non-linux. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~13831 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=cf57498e90452b5042026b841a549993d5c28523;p=xen.git libxc: Implement stub xc_gnttab_map_table() for non-linux. Signed-off-by: Keir Fraser --- diff --git a/tools/libxc/xc_minios.c b/tools/libxc/xc_minios.c index a4e32ff078..8636ff5459 100644 --- a/tools/libxc/xc_minios.c +++ b/tools/libxc/xc_minios.c @@ -414,6 +414,11 @@ int xc_gnttab_set_max_grants(int xcg_handle, return ret; } +struct grant_entry *xc_gnttab_map_table(int xc_handle, int domid, int *gnt_num) +{ + return NULL; +} + /* * Local variables: * mode: C diff --git a/tools/libxc/xc_netbsd.c b/tools/libxc/xc_netbsd.c index aab325f68a..27a25d45a4 100644 --- a/tools/libxc/xc_netbsd.c +++ b/tools/libxc/xc_netbsd.c @@ -263,6 +263,11 @@ void discard_file_cache(int fd, int flush) } } +struct grant_entry *xc_gnttab_map_table(int xc_handle, int domid, int *gnt_num) +{ + return NULL; +} + /* * Local variables: * mode: C diff --git a/tools/libxc/xc_solaris.c b/tools/libxc/xc_solaris.c index d32a537550..6c1f209476 100644 --- a/tools/libxc/xc_solaris.c +++ b/tools/libxc/xc_solaris.c @@ -252,3 +252,8 @@ void discard_file_cache(int fd, int flush) { // TODO: Implement for Solaris! } + +struct grant_entry *xc_gnttab_map_table(int xc_handle, int domid, int *gnt_num) +{ + return NULL; +}